<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: Edge Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Edge Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Edge" -->
<p><a href="class_edge-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge_1_1_h_edge_iterator.html">HEdgeIterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge_1_1_vertex_iterator.html">VertexIterator</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab338283a891981b232e37dcdd54c6add"></a><!-- doxytag: member="Edge::Edge" ref="ab338283a891981b232e37dcdd54c6add" args="(Vertex *tail, Vertex *head)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Edge</b> (<a class="el" href="class_vertex.html">Vertex</a> *tail, <a class="el" href="class_vertex.html">Vertex</a> *head)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#a08eb77c253e4e84305b29a95b24771eb">iid</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#aaeba868544b01ddb4ccc986092ea7287">addFlag</a> (EdgeFlags flag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c5216decdcfbe4eb7c9a12a843a226c"></a><!-- doxytag: member="Edge::removeFlag" ref="a4c5216decdcfbe4eb7c9a12a843a226c" args="(EdgeFlags flag)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeFlag</b> (EdgeFlags flag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a011c96a1327eef75e089c58203557f3f"></a><!-- doxytag: member="Edge::flags" ref="a011c96a1327eef75e089c58203557f3f" args="() const " -->
EdgeFlags&#160;</td><td class="memItemRight" valign="bottom"><b>flags</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aead36e5f514bdfeb1bf0c7375b47fdef"></a><!-- doxytag: member="Edge::setFlags" ref="aead36e5f514bdfeb1bf0c7375b47fdef" args="(EdgeFlags flags)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFlags</b> (EdgeFlags flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22e4e80bf19eaec216f021d291a203a4"></a><!-- doxytag: member="Edge::isFlagSet" ref="a22e4e80bf19eaec216f021d291a203a4" args="(EdgeFlags flag)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isFlagSet</b> (EdgeFlags flag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_edge.html">Edge</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#a3abeabec52d89c01f34d034b01dbf9d6">next</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36c88f43cb147d35e8e051f8bd10869c"></a><!-- doxytag: member="Edge::setNext" ref="a36c88f43cb147d35e8e051f8bd10869c" args="(Edge *he)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setNext</b> (<a class="el" href="class_edge.html">Edge</a> *he)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b36f15c94525fb5c696d7972be2b8d4"></a><!-- doxytag: member="Edge::prev" ref="a6b36f15c94525fb5c696d7972be2b8d4" args="() const " -->
<a class="el" href="class_edge.html">Edge</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>prev</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5fed018c7b4be59b2fd527dcbdd175f6"></a><!-- doxytag: member="Edge::setPrev" ref="a5fed018c7b4be59b2fd527dcbdd175f6" args="(Edge *he)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPrev</b> (<a class="el" href="class_edge.html">Edge</a> *he)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_edge.html">Edge</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#a24895540a4004d92c18f43e2fb5ecedd">pair</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bee6579232cbe3ded434018fc2c3b2d"></a><!-- doxytag: member="Edge::setPair" ref="a9bee6579232cbe3ded434018fc2c3b2d" args="(Edge *he)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPair</b> (<a class="el" href="class_edge.html">Edge</a> *he)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vertex.html">Vertex</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#a1a3005e40d3e8801cb51a219512cff2d">head</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e5df9b2daf7f94933ff6a4d09cf03e0"></a><!-- doxytag: member="Edge::setHead" ref="a1e5df9b2daf7f94933ff6a4d09cf03e0" args="(Vertex *v)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setHead</b> (<a class="el" href="class_vertex.html">Vertex</a> *v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vertex.html">Vertex</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#a1cd4feb64d154b5fdeb008e904b75a51">tail</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27849b4c7d32ee7feb62006a67193484"></a><!-- doxytag: member="Edge::setTail" ref="a27849b4c7d32ee7feb62006a67193484" args="(Vertex *v)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTail</b> (<a class="el" href="class_vertex.html">Vertex</a> *v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_face.html">Face</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#a2929c70f486a9b5bae2dd806d8ff6cb5">face</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51cc5d9082c6686bb750e544d551e9af"></a><!-- doxytag: member="Edge::setFace" ref="a51cc5d9082c6686bb750e544d551e9af" args="(Face *f)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFace</b> (<a class="el" href="class_face.html">Face</a> *f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#af66224fb864cfbd5fdaf50509b1f81b1">setUserData</a> (void *data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_edge.html#ab91c2af49397da0e268ba0798a05c407">userData</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8202f2230a61f4d530789da9de4bafbe"></a><!-- doxytag: member="Edge::isEqual" ref="a8202f2230a61f4d530789da9de4bafbe" args="(const Edge &amp;he) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isEqual</b> (const <a class="el" href="class_edge.html">Edge</a> &amp;he) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1b647035ee493997550bb6af072be55"></a><!-- doxytag: member="Edge::operator==" ref="ad1b647035ee493997550bb6af072be55" args="(const Edge &amp;he) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="class_edge.html">Edge</a> &amp;he) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b572434f0363e92ad19a7677cbb796b"></a><!-- doxytag: member="Edge::operator!=" ref="a3b572434f0363e92ad19a7677cbb796b" args="(const Edge &amp;he) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="class_edge.html">Edge</a> &amp;he) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2101c011c52d653f00cd63ffb768febd"></a><!-- doxytag: member="Edge::vertexIterator" ref="a2101c011c52d653f00cd63ffb768febd" args="()" -->
<a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_vertex.html">Vertex</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>vertexIterator</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38ec689de64fdd1a6e44eda5b11ab146"></a><!-- doxytag: member="Edge::hedgeIterator" ref="a38ec689de64fdd1a6e44eda5b11ab146" args="()" -->
<a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_edge.html">Edge</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>hedgeIterator</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac54aeb14d596a9d60aecfac7deade8c2"></a><!-- doxytag: member="Edge::VertexIterator" ref="ac54aeb14d596a9d60aecfac7deade8c2" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>VertexIterator</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e9a4246e116d09de8b2b1fde2855c03"></a><!-- doxytag: member="Edge::HEdgeIterator" ref="a0e9a4246e116d09de8b2b1fde2855c03" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>HEdgeIterator</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2cfe6cf0b2853b278ddf9eee50b2dabb"></a><!-- doxytag: member="Edge::qHash" ref="a2cfe6cf0b2853b278ddf9eee50b2dabb" args="(const Edge &amp;)" -->
uint&#160;</td><td class="memItemRight" valign="bottom"><b>qHash</b> (const <a class="el" href="class_edge.html">Edge</a> &amp;)</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaeba868544b01ddb4ccc986092ea7287"></a><!-- doxytag: member="Edge::addFlag" ref="aaeba868544b01ddb4ccc986092ea7287" args="(EdgeFlags flag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Edge::addFlag </td>
          <td>(</td>
          <td class="paramtype">EdgeFlags&#160;</td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set / get attribute flags to the face. </p>

</div>
</div>
<a class="anchor" id="a2929c70f486a9b5bae2dd806d8ff6cb5"></a><!-- doxytag: member="Edge::face" ref="a2929c70f486a9b5bae2dd806d8ff6cb5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_face.html">Face</a>* Edge::face </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets / sets a pointer to a face this half edge belongs to. </p>

</div>
</div>
<a class="anchor" id="a1a3005e40d3e8801cb51a219512cff2d"></a><!-- doxytag: member="Edge::head" ref="a1a3005e40d3e8801cb51a219512cff2d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vertex.html">Vertex</a>* Edge::head </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets / sets a pointer to the vertex this structure points to. </p>

</div>
</div>
<a class="anchor" id="a08eb77c253e4e84305b29a95b24771eb"></a><!-- doxytag: member="Edge::iid" ref="a08eb77c253e4e84305b29a95b24771eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Edge::iid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the instance id of the vertex. </p>

</div>
</div>
<a class="anchor" id="a3abeabec52d89c01f34d034b01dbf9d6"></a><!-- doxytag: member="Edge::next" ref="a3abeabec52d89c01f34d034b01dbf9d6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_edge.html">Edge</a>* Edge::next </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets / sets a pointer to the next HEdge structure. </p>

</div>
</div>
<a class="anchor" id="a24895540a4004d92c18f43e2fb5ecedd"></a><!-- doxytag: member="Edge::pair" ref="a24895540a4004d92c18f43e2fb5ecedd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_edge.html">Edge</a>* Edge::pair </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets / sets a pointer to the pair of this HEdge structure. </p>

</div>
</div>
<a class="anchor" id="af66224fb864cfbd5fdaf50509b1f81b1"></a><!-- doxytag: member="Edge::setUserData" ref="af66224fb864cfbd5fdaf50509b1f81b1" args="(void *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Edge::setUserData </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Allows to attach a pointer to a user defined structure or data </p>

</div>
</div>
<a class="anchor" id="a1cd4feb64d154b5fdeb008e904b75a51"></a><!-- doxytag: member="Edge::tail" ref="a1cd4feb64d154b5fdeb008e904b75a51" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vertex.html">Vertex</a>* Edge::tail </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets / sets a pointer to the vertex this structure points to. </p>

</div>
</div>
<a class="anchor" id="ab91c2af49397da0e268ba0798a05c407"></a><!-- doxytag: member="Edge::userData" ref="ab91c2af49397da0e268ba0798a05c407" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* Edge::userData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a pointer to the user data.</p>
<p>The user is responsible to cast the pointer to the correct type </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>engine/include/<a class="el" href="_h_edge_8h_source.html">HEdge.h</a></li>
<li>engine/src/HEdge.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 27 2011 15:38:53 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
